package com.travel.server.manager.dao;

import com.travel.server.manager.model.QuestionnaireDetailInfo;
import com.travel.server.manager.model.QuestionnaireDetailInfoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface QuestionnaireDetailInfoDao {
    int countByExample(QuestionnaireDetailInfoExample example);

    int deleteByExample(QuestionnaireDetailInfoExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(QuestionnaireDetailInfo record);

    int insertSelective(QuestionnaireDetailInfo record);

    List<QuestionnaireDetailInfo> selectByExample(QuestionnaireDetailInfoExample example);

    QuestionnaireDetailInfo selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") QuestionnaireDetailInfo record, @Param("example") QuestionnaireDetailInfoExample example);

    int updateByExample(@Param("record") QuestionnaireDetailInfo record, @Param("example") QuestionnaireDetailInfoExample example);

    int updateByPrimaryKeySelective(QuestionnaireDetailInfo record);

    int updateByPrimaryKey(QuestionnaireDetailInfo record);
}